package Work0519;

public class RemoteControl {
	private double weight;
	private double wirelessRange;
	private String colour;

	public RemoteControl(double weight, double wirelessRange, String colour) {
		this.weight = weight;
		this.wirelessRange = wirelessRange;
		this.colour = colour;
	}

	public void controlOpen(Television a) {
		System.out.println("开机");
	}

	public void controlClose(Television a) {
		System.out.println("关闭");
	}

	public void controlStation(Television a) {
		System.out.println("换台");
	}

	public void show() {
		System.out.println("这块遥控器重量为" + weight + "两,无线信号范围为" + wirelessRange + "平方米,颜色为" + colour + "的遥控器");
	}
}
